package com.bdqn.vueboot.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.vueboot.entity.Department;
import com.bdqn.vueboot.service.DepartmentService;
import com.bdqn.vueboot.mapper.DepartmentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department>
        implements DepartmentService {
    @Resource
    DepartmentMapper departmentMapper;

    @Override
    public List<Department> allDepartmentListBiz() {
        return departmentMapper.allDepartmentList();
    }
}




